package com.gancp.service;

import com.gancp.domain.User;
import com.gancp.service.base.IBaseBiz;

import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;

/**
 * Created by GCP on 2018/4/29.
 * 用户信息查询
 */
public interface UserBiz extends IBaseBiz<User, Long> {
    boolean checkUserByName(String username, String password) throws Exception;

    void insertUser(User user) throws Exception;

    User findUserByUserName(String username);
}
